import request from '@/utils/request'

// 查询商品详情数据
export const getDetail = (id: string) =>
    request<any, Product>({
        url: '/api/detail?id=' + id,
    })